package com.sc.nft.entity.vo.ecologypool;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.ecologypool.EcologyPoolRedPackMechanismEnum;
import com.sc.nft.enums.ecologypool.EcologyPoolRedPackTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;


@Data
public class EcologyPoolRedPackDetailVO implements Serializable {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("奖励机制")
    private EcologyPoolRedPackMechanismEnum mechanism;

    @ApiModelProperty("奖励机制名称")
    private String mechanismName;

    @ApiModelProperty("奖励类型")
    private EcologyPoolRedPackTypeEnum type;

    @ApiModelProperty("奖励类型名称")
    private String typeName;

    @ApiModelProperty("奖励数量")
    private BigDecimal rewardNumber;

    @ApiModelProperty("红包总量")
    private Long packNumber;

    @ApiModelProperty("开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    @ApiModelProperty("活动规则")
    private String activeRule;

    @ApiModelProperty("参与条件")
    private Boolean participate;

    @ApiModelProperty("参与nft")
    private List<EcologyPoolRedPackDetailNftVO> participateNft;

    @ApiModelProperty("参与nft名称")
    private String nftName;

    @ApiModelProperty("个人参与次数")
    private Integer participateNumber;

}
